/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Other;

/**
 *
 * @author Tomy
 */
public class ServerCardConcrete implements ServerCard {

    private Integer attack;
    private Integer defense;
    private String name;
    private int ID;
    
    public ServerCardConcrete(String name, int attack, int defense, int ID) {
    	this(name, attack, defense);
    	this.ID = ID;
    }
    
    public ServerCardConcrete(String name, int attack, int defense) {
        this.name=name;
        this.attack=attack;
        this.defense = defense;
    }

    public Integer getAttack() {
        return attack;
    }

    public void setAttack(Integer attack) {
        this.attack = attack;
    }

    public Integer getDefense() {
        return defense;
    }

    public void setDefense(Integer defense) {
        this.defense = defense;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    public int getID() {
    	return this.ID;
    }
    
    public void setID(int ID) {
    	this.ID = ID;
    }
    
}
